import '@/utils/adaptive.js'
import Vue from 'vue'
import App from './App'
import wechat from './utils/wechat.js' //微信操作js
import auth from '@/utils/auth.js';
// import VConsole from 'vconsole' // h5调试工具，发布后需要去掉
//  // var vConsole = new VConsole()
 // if (process.env.APP_ENV === 'development') {
 //   new VConsole()
 // }
const isIosState = navigator.userAgent // 判断是否是ios
const isIosShow = !!isIosState.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)
Vue.config.productionTip = false
Vue.prototype.$auth = auth
Vue.prototype.$wechat = wechat
Vue.prototype.$isIos = isIosShow

App.mpType = 'app'

const app = new Vue({
    ...App
})

app.$mount()
